<template>
  <div class="content">
    <div class="Lbtn">
      <mt-button type="default" size = "large" @click = "gologinandR">登录注册</mt-button>
    </div>
  </div>
</template>
<script>
import Vue from 'vue'
import { Field, Button } from 'mint-ui'
Vue.use(Field, Button)
export default{
  created () {
    if (sessionStorage.uid === '') {

    } else {
      this.$router.push('/user/login')
    }
  },
  methods: {
    gologinandR () {
      this.$router.push('/login')
    }
  }
}
</script>
<style lang="scss">
@import '@/lib/reset.scss';

</style>
